/*    */ package dm.jdbc.rowset;
/*    */ 
/*    */ public class DmdbParameter {
/*  4 */   private String m_paramName = null;
/*  5 */   private int m_paramIndex = -1;
/*    */   
/*  7 */   private Object[] m_params = null;
/*  8 */   private boolean m_bySetObject = false;
/*    */   
/*    */   public DmdbParameter(Object paramId, Object[] params) {
/* 11 */     if ((paramId instanceof String)) {
/* 12 */       this.m_paramName = ((String)paramId);
/*    */     } else {
/* 14 */       this.m_paramIndex = ((Integer)paramId).intValue();
/*    */     }
/* 16 */     this.m_params = new Object[params.length];
/* 17 */     System.arraycopy(params, 0, this.m_params, 0, params.length);
/* 18 */     this.m_bySetObject = false;
/*    */   }
/*    */   
/*    */   public void setBySetObject(boolean bySetObject) {
/* 22 */     this.m_bySetObject = bySetObject;
/*    */   }
/*    */   
/*    */   public boolean isByObject() {
/* 26 */     return this.m_bySetObject;
/*    */   }
/*    */   
/*    */   public int getParamIndex() {
/* 30 */     return this.m_paramIndex;
/*    */   }
/*    */   
/*    */   public Object[] getParams() {
/* 34 */     return this.m_params;
/*    */   }
/*    */   
/*    */   public String getParamName() {
/* 38 */     return this.m_paramName;
/*    */   }
/*    */ }


/* Location:              D:\Program Files\DBMS_20150813\jdbc\Dm7JdbcDriver17.jar!\dm\jdbc\rowset\DmdbParameter.class
 * Java compiler version: 5 (49.0)
 * JD-Core Version:       0.7.1
 */